cmake_minimum_required(VERSION 3.0.0)
project(epoll VERSION 0.1.0)

# include(CTest) enable_testing()

message(${PROJECT_SOURCE_DIR})

# find_package(gtest REQUIRED) find_package(pthread)

find_package(GTest MODULE REQUIRED) # 查找GTest
find_package(Threads) # 查找Threads

# aux_source_directory(. )

add_executable(main main.cpp)

target_link_libraries(main pthread)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# include(CPack)
